<?php
/**
 * Created by PhpStorm.
 * User: Jerry
 * Date: 2017/2/17
 * Time: 16:20
 */

namespace SDXApi\Model;


use Think\Model;

/**
 * Class SeminarTemplatePageTitleModel
 * @package SDXApi\Model
 */
class SeminarTemplatePageTitleModel extends Model
{
	/**
	 * @var string
	 */
	protected $tableName = 'seminar_template_page_title';

	/**
	 * Created by Jerry
	 * @param $page_id
	 * @return mixed
	 */
	public function findSeminarPageTitleByPageId($page_id)
	{
		$where = array(
			'page_id'	=>	$page_id,
		);

		return $this->where($where)->find();
	}
}